package scala.scalaTrait

//a scala class can implement java interface 
class AClass extends JavaInterface1 with JavaInterface2{
    def function1(){
       println("Implement function1 in Java Interface 1")
    }
    def function2(){
       println("Implement function2 in Java Interface 2")
    }
}